package net.console;

import java.util.HashMap;

public class ServerCommandoInterpreter {

	private static ServerCommandoInterpreter i = new ServerCommandoInterpreter();
	 
	public static ServerCommandoInterpreter getInstance(){
		return i;
	}
	
	HashMap<String, String> commands;
	
	public ServerCommandoInterpreter(){
		commands = new HashMap<String,String>();
		//Add Known commands
		
	}
	
	public String interpret(String command) throws CommandNotFoundException{
		if(!commands.containsKey(command))
			throw new CommandNotFoundException(command);
		
		return "";
	}
	
}
